#include<bits/stdc++.h>
using namespace std;
int main()
{
	int c=0;
	cin>>c;
	double f=9.0*c/5+32;
	cout<<fixed<<setprecision(2)<<f<<endl;
	return 0;
}
